package com.ls.blog.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ls.blog.entity.SysUser;
import com.ls.blog.vo.UserVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @program: myblog
 * @author: lishun
 * @create: 2021-07-05 00:24
 **/
public interface SysUserMapper extends BaseMapper<SysUser> {

    SysUser selectUserByAccount(@Param("account")String account);

    List<UserVo> findUserList(Page<SysUser> page);
}
